<!--
 * @Description: 
 * @Author: zzj
 * @Date: 2021-10-11 11:36:48
 * @LastEditors: zzj
 * @LastEditTime: 2021-10-11 16:48:22
-->
<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>抽屉</title>
	<script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.9/vue.js"></script>
	<link href="https://cdn.bootcdn.net/ajax/libs/element-ui/2.15.3/theme-chalk/index.css" rel="stylesheet">
	<script src="https://cdn.bootcdn.net/ajax/libs/element-ui/2.15.3/index.js"></script>
</head>

<body>
	<div id="app">
		<el-drawer :visible.sync="visible">
			<div slot="title">
				定制title
			</div>
			<!-- 默认插槽 -->
			<span>我来啦!</span>
		</el-drawer>
	</div>

	<script>
		
		new Vue({
			el: "#app",
			data: {
				visible:true
			}
		})
	</script>
</body>

</html>